package com.ruoyi.emp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 作业对象 tb_emp
 *
 * @author ruoyi
 * @date 2025-08-02
 */
public class TbEmp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String ename;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private String nums;

    /**
     * 食物
     */
    @Excel(name = "食物")
    private String foods;

    /**
     * 分类
     */
    @Excel(name = "分类")
    private Long gid;

    /**
     * 略图
     */
    @Excel(name = "略图")
    private String drops;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEname() {
        return ename;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    public String getNums() {
        return nums;
    }

    public void setFoods(String foods) {
        this.foods = foods;
    }

    public String getFoods() {
        return foods;
    }

    public void setGid(Long gid) {
        this.gid = gid;
    }

    public Long getGid() {
        return gid;
    }

    public void setDrops(String drops) {
        this.drops = drops;
    }

    public String getDrops() {
        return drops;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ename", getEname())
                .append("nums", getNums())
                .append("foods", getFoods())
                .append("gid", getGid())
                .append("drops", getDrops())
                .toString();
    }
}
